package com.borya.model.db;

/**
 * @author 陈彪
 * @blame 陈彪
 * @date 2020/3/4 22:01
 */
public class TbMerchantPowerLimit {

    private String id;
    private String dealerId;
    /**
     * 被限制的权限类型，1商城订单2联通权限
     */
    private Integer powerType;
    private Long createTime;
    private String descStr;

    public TbMerchantPowerLimit() {
    }

    public TbMerchantPowerLimit(String dealerId, Integer powerType, Long createTime, String descStr) {
        this.dealerId = dealerId;
        this.powerType = powerType;
        this.createTime = createTime;
        this.descStr = descStr;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("TbMerchantPowerLimit{");
        sb.append("id='").append(id).append('\'');
        sb.append(", dealerId='").append(dealerId).append('\'');
        sb.append(", powerType=").append(powerType);
        sb.append(", createTime=").append(createTime);
        sb.append(", descStr='").append(descStr).append('\'');
        sb.append('}');
        return sb.toString();
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getDealerId() {
        return dealerId;
    }

    public void setDealerId(String dealerId) {
        this.dealerId = dealerId;
    }

    public Integer getPowerType() {
        return powerType;
    }

    public void setPowerType(Integer powerType) {
        this.powerType = powerType;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    public String getDescStr() {
        return descStr;
    }

    public void setDescStr(String descStr) {
        this.descStr = descStr;
    }
}
